package date;

import java.time.Clock;
import java.time.ZoneId;

public class MyClock {
    public static void main(String[] args) {
        Clock clock = Clock.systemDefaultZone();
        System.out.println(clock.millis());
        Clock system = Clock.system(ZoneId.of("GMT"));
        System.out.println(system.millis());
    }
}
